import request from '@/utils/request'

export function getAllOrderCount(query) {
  return request({
    url: '/admin/AllOderCount',
    method: 'get',
    data: query
  })
}

export function getDayOrderCount(query) {
  return request({
    url: '/admin/DayOderCount',
    method: 'get',
    data: query
  })
}

export function getMonOrderCount(query) {
  return request({
    url: '/admin/MonOrderCount',
    method: 'get',
    data: query
  })
}

export function getLastMonOrder(query) {
  return request({
    url: '/admin/LastMonOrder',
    method: 'get',
    data: query
  })
}

export function getLastTwoMonOrder(query) {
  return request({
    url: '/admin/LastTwoMonOrder',
    method: 'get',
    data: query
  })
}
